home *** CD-ROM | disk | FTP | other *** search
/ Oriental Babes / OB Data File (P.I.E.) (1994).iso / gifdesk / vesaview.doc < prev    next >
Text File  |  1992-04-06  |  26KB  |  476 lines

  1. ============================================================================
  2. VESAVIEW - Keywords: VESA GIF PCX IMG HPGL PRINT CATALOG ARRAY VIEWER PAN
  3.                      DESKJET LASERJET (69c)
  4.            Brief Desc: View and print GIF, PCX & IMG/GEM images and HPGL
  5.            plotter files.  Arrays of up to 81 images per screen can be
  6.            generated and saved as GIFs for easy cataloging.  HPGL plot
  7.            files can be saved as IMG files.  Mouse support.  Requires a
  8.            VESA driver for your graphics card and enough extended memory
  9.            to hold entire image.  Supports VESA modes thru 1280x1024x256.
  10.            Size of image is limited only by the amount of extended memory.
  11.            Quick panning of images larger than your screen resolution.
  12.            Color/brightness/contract adjustments available and cropping of
  13.            GIF images.  Excellent printing to HP DeskJet or LaserJet.
  14.            Tested on Paradise, CompuAdd Hirez (Tseng 3000/4000), Trident
  15.            8900, Dell's built in Paradise, Video-7 VRAM II, Orchid Designer
  16.            Pro, Diamond Stealth, and ATI Wonder & Vantage.
  17.  
  18. ============================================================================
  19.  
  20. VESAVIEW  -  Copyright (c) William M. White 1992.
  21.              Compuserve ID: 71770,2340
  22.  
  23.         This product is Shareware. If you find it useful, please register
  24.         your copy and tell your friends about it.  This product may not be
  25.         sold or packaged, either individually, or as part of any other
  26.         product without the express written consent of the author. This
  27.         product may not be changed or altered and then distributed without
  28.         the express written consent of the author.  The VESAVIEW.DOC file
  29.         must accompany VESAVIEW.EXE whenever it is distributed.
  30.  
  31. REGISTRATION:
  32.         Please send your $25.00 registration fee to:
  33.                 William M. White
  34.                 P. O. Box 2273
  35.                 Glen Allen, VA. 23058-2273
  36.  
  37.         By Registering your copy, you will receive notice of any major
  38.         upgrades to VESAVIEW and help support the continued development of
  39.         the product.  Current versions of the product will always be
  40.         available on Compuserve in the GRAPHSUPPORT forum (GO PICS).
  41.  
  42. DISCLAIMER:
  43.         VESAVIEW is offered to you on an as-is-basis without any guarantee
  44.         as to the correct functioning or fitness for specific purpose.  The
  45.         author believes this program to work as described but you use the
  46.         program entirely at your own risk.  The author will not be
  47.         responsible for any hardware or software damage, loss of data, or
  48.         incidental or consequential damage that may result from its use,
  49.         whether or not such use is in accordance with the instructions.
  50.  
  51. REVISION HISTORY:
  52.         v1.0 - v1.9     - Developmental versions
  53.         v2.0 (04/03/92) - First release to the Public as Shareware
  54.  
  55. REQUIREMENTS:
  56.         - IBM compatible 286 or better
  57.         - Extended memory (and driver such as HIMEM).  For 256 color files,
  58.           you'll need 1 byte/pixel in your image.  For 2 color files,
  59.           you'll need 1 byte per 8 pixels in your image.
  60.         - Will use a math coprocessor if available
  61.         - A graphics card that supports the VESA BIOS EXTENSIONS for the
  62.           'Super VGA modes' either through hardware or a software driver.
  63.  
  64. FEATURES:
  65.         - Will read any size GIF (Compuserve), PCX (Zsoft 2 or 256 color
  66.           only), IMG (GEM/Digital Research Inc. black & white) or a HPGL
  67.           (Hewlett Packard plotter file).  Program determines filetype from
  68.           the extension (.GIF, .PCX, or .IMG for images and .HPG or .PLT
  69.           for plotter files).  If the file is larger than the screen mode
  70.           you selected, you can quickly pan around the image.  Size of
  71.           image is limited only by the amount of extended memory you have.
  72.           NOTE:  The entire image is read into Extended memory to allow
  73.           for quick panning of large images.
  74.  
  75.         - Plotting to a HP DeskJet or HP LaserJet printer is supported for
  76.           both color and black & white images.  Halftoning is used for
  77.           reproducing color plots.
  78.  
  79.         - Red/Green/Blue/Contrast/Brightness values may be changed while
  80.           viewing a color image.
  81.  
  82.         - Color screen images can be saved as a GIF file.  These images may
  83.           be cropped before saving.
  84.  
  85.         - Black & White images can be saved as an IMG file.  This is useful
  86.           to save a HPGL file that is displayed on screen out to a quicker
  87.           retrieving IMG file.  If these images are displayed in a color
  88.           VESA mode they can also be saved &/or cropped as GIF files.
  89.  
  90.         - Arrays of up to 81 images can be displayed on a single screen at
  91.           once.  This screen can then be saved as a single GIF file for
  92.           cataloging or plotting.
  93.  
  94.         - Supports VESA modes (assuming your graphics card can handle):
  95.                 100 -  640 x  400 x 256
  96.                 101 -  640 x  480 x 256
  97.                 103 -  800 x  600 x 256
  98.                 105 - 1024 x  768 x 256
  99.                 107 - 1280 x 1024 x 256
  100.         - Will support a 800 x 600 x 2 color B&W mode if your card has one.
  101.           (See /SVnnn option below)
  102.  
  103.         - Supports the use of a MicroSoft compatible 2-button mouse.
  104.  
  105. RUNNING:
  106.         Make sure you have enough extended memory available and that a
  107.         driver (such as HIMEM) is loaded.  Make sure your graphics card
  108.         has VESA BIOS EXTENSIONS (VBE) either built-in or that you have
  109.         installed a VESA software driver.
  110.  
  111.         Keyin VESAVIEW [/P1 or /P2] [/AB or /AW] [/LOmode] [/AMmode] [/NW]
  112.                        [/HW] [/Dnnn] [/SVnnn] where items in brackets are
  113.                        optional.
  114.  
  115.         The /P1 or /P2 designates which printer port to use for printing
  116.         (LPT1 or LPT2).
  117.  
  118.         The /AB forces the array mode to use a black background and white
  119.         text for the filenames.  The /AW forces the array mode to use a
  120.         white background and black text (saves black ink when printing).
  121.  
  122.         The /LOmode (where mode is 100, 101, 103, 105 or 107) will lock
  123.         out a mode.  This is useful if your VESA driver is designed for
  124.         a graphics card which has been fully populated with memory chips
  125.         but your card doesn't have all of this memory installed.  You may
  126.         use more than one of these switches on your command line.
  127.  
  128.         The /AMmode (where mode is 100, 101, 103, 105 or 107) will let you
  129.         default to a specific mode when displaying arrays.  The program
  130.         will default to mode 101 if this switch is not used.  Only use a
  131.         mode number that your card can support!
  132.  
  133.         The /NW (no weight) will not display weights of lines in an HPGL
  134.         plot file if the SP (select pen) keyword was used when creating
  135.         the plots.  This will greatly speed up the screen drawing if you
  136.         don't need to look at or print the weights.  Some CAD programs
  137.         which generate the plot files create weighted lines by simply
  138.         drawing the lines multiple times in the plot file (each slightly
  139.         offset) and not by using the SP (set pen) command.  The /NW & /HW
  140.         switches will have no effect on this type of plot files.
  141.  
  142.         The /HW is similar to /NW except that the weights of lines will be
  143.         halved (divided by 2).
  144.  
  145.         The /Dnnn is for setting the delay in seconds to use between
  146.         slides.  The nnn is an integer number from 1 to 999 and defaults
  147.         to 3 seconds.  This time is approximate and will vary depending
  148.         on the size of the image being read in.
  149.  
  150.         The /SVnnn will allow you to use a 800 x 600 x 2 color mode to
  151.         display IMG or HPGL files in a high resolution mode if your
  152.         graphics card supports it.  The nnn is the decimal mode number
  153.         that your card uses for this mode.  Most Paradise cards use 41
  154.         decimal for this mode, and the Tseng cards (including Orchid)
  155.         use 89 decimal.  This special mode and the standard 640 x 480 x 2
  156.         mode will allow faster panning on screen than the same resolutions
  157.         in VESA modes will for large B & W images.
  158.  
  159.         Ex:  VESAVIEW /L2 /AW /D10  - Will use printer port LPT2:, display
  160.                                       arrays with a white background, and
  161.                                       delay 10 seconds between slides.
  162.  
  163.         Ex:  VESAVIEW /LO105 /LO107 /AM103 - Will lockout modes 105 and
  164.                                              107 from being valid VESA
  165.                                              modes and will use mode 103
  166.                                              when displaying arrays.
  167.  
  168.         The program will test to see if your graphics card supports the
  169.         VESA Bios Extensions by either hardware or software driver,
  170.         whether you have a HIMEM driver loaded and how much extended
  171.         memory you have available.
  172.  
  173.         Use the <ESC> key to exit program.
  174.  
  175. CHANGING DIRECTORY:
  176.         While the list of files is on your screen, you can change your
  177.         current directory by placing the cursor on the lite blue entries
  178.         (which are directory names) and pressing <ENTER>.  The . (single
  179.         dot) will take you back to the root directory, and the .. (double
  180.         dots) will take you back one directory level.
  181.  
  182.         You can also press the <C> key to keyin a path which can include
  183.         a new disk drive. (Ex: B:\ or C:\GIF or C:\IMAGES\GIF or \GIF)
  184.  
  185. VIEW SINGLE IMAGE:
  186.         To view a single image move the cursor (with arrows, pageup,
  187.         pagedown, home or end keys) to the desired image file and press
  188.         <ENTER>.  Then select a Vesa Mode from the Mode Menu. An asterisk
  189.         denotes the Best Mode (calculated by the program) which will display
  190.         the most of your entire image on a single screen in the best
  191.         resolution.  After your image is displayed, press <ESC> to return
  192.         to main menu.  Note that when viewing IMG files or HPGL files,
  193.         you can use a VESA mode (only B&W colors used), use the standard
  194.         640 x 480 x 2 mode or use the Super VGA mode that you optionally
  195.         entered on the command line.  Entries in gray on the Mode Menu
  196.         are not available for your graphics card.
  197.  
  198. VIEW MULTIPLE IMAGES (slide show):
  199.         To view multiple images as a 'slide show', use the space bar to
  200.         select the images you wish to view.  You can mark all images in
  201.         the current directory with the <M> key or unmark them with the
  202.         <U> key.  These can include GIF, PCX, IMG, PLT or HPG files.  By
  203.         pressing the <C> key, you can change your current Disk &/or
  204.         Directory.  Press <ENTER> to start the slide show.  The files will
  205.         be displayed one by one in the best VESA mode as determined by the
  206.         program (640x480x2 mode is used for PLT & HPG files).  The delay
  207.         between slides will vary depending on the time it takes to read in
  208.         the next file while one is on your screen and the value used in the
  209.         /Dnnn switch.  After the last file is displayed, the program will
  210.         loop back to first slide.  Pressing <ESC> during the display will
  211.         stop the slide show after the next slide is displayed. (this may
  212.         take several seconds)
  213.  
  214. VIEW AN ARRAY OF IMAGES:
  215.         To view multiple images on a single screen at once, use the space
  216.         bar to select the images you wish to view.  These can include GIF,
  217.         PCX and IMG files but not PLT or HPG files.  Press <A> to select
  218.         array display.  Select the VESA mode from Mode Menu and then
  219.         select the number of images to display per screen page.  Then sit
  220.         back and watch your images appear.  Pressing <ESC> will abort the
  221.         display after the current image is displayed.  If more than one
  222.         page is required, you could press <G> to save the currently
  223.         displayed page as a GIF image (for later plotting for example) or
  224.         <PAGE DN> will continue to display the next page.
  225.  
  226.         Since each image uses it own unique 256 colors, a special optimized
  227.         color table is used to display arrays.  Note that when displaying
  228.         an IMG file in an array, the scaling down of the original image
  229.         (especially a line type drawing) will cause much of the info to be
  230.         lost on the screen.
  231.  
  232. VIEWING HPG or PLT FILES:
  233.         To view a plot file created in a HPGL format, move the cursor to
  234.         the filename and press <ENTER>.  Then choose the Display Mode and
  235.         Plot Mode you wish to use.  The program will try and determine the
  236.         size of plot from the plot file header, but some CADD packages
  237.         don't supply this info in which case the program will assume a
  238.         "C size".  The HPGL codes for Plot Sizes are:
  239.                 PS4 = 'A' size
  240.                 PS0 = 'B' size
  241.                 PS1 = 'C' size
  242.  
  243.         Choosing a display mode of FIT, 2X or 4X will speed up the drawing
  244.         process but the resolution of the image will be diminished.  You
  245.         will only be able to plot an "A size" or smaller.  As the image is
  246.         decoded, you will see it being drawn in a preview mode at screen
  247.         size.  After the image is complete, pressing any key will swap you
  248.         to the actual image as stored in Extended memory for panning
  249.         around in.  Pressing <ESC> as the image is being decoded will
  250.         abort it.
  251.  
  252.         Currently supported HPGL commands are:  PU,PD,PA,PR,PS,IP,SC,SP
  253.  
  254.         Even though the LB,CI,SI,SR,DF,DI & DR commands are parsed and
  255.         used to display the image on the initial preview screen, they are
  256.         not supported as the drawing is being created in Extended memory.
  257.         This won't usually pose a problem since this program was designed
  258.         to view HPGL files created by CADD programs and most of those
  259.         programs represent Text, Circles etc. as vector elements.
  260.  
  261.         WARNING:  Only plot files which were created as C size or smaller
  262.         should be viewed, since the program does no checking for elements
  263.         which could be drawn 'off' the page if too big.  This check was
  264.         omitted to speed up the drawing.
  265.  
  266. DELETING FILES:
  267.         While the file list is displayed on your screen, you may delete
  268.         a file by moving the cursor to it and pressing <DEL> on the
  269.         keyboard.  To delete multiple files, mark them with the <spacebar>
  270.         or Right Mouse Button and then press <DEL>.  You will be asked
  271.         to confirm each deletion.
  272.  
  273. SPECIAL KEYS WHILE VIEWING:
  274.    While viewing images in a VESA mode (other than arrays):
  275.  
  276.         F1/F2    Increase/Decrease RED
  277.         F3/F4    Increase/Decrease GREEN
  278.         F5/F6    Increase/Decrease BLUE
  279.         F7/F8    Increase/Decrease RED
  280.         F9/F10   Increase/Decrease RED
  281.         ALT F9   Change to Gray tones
  282.         ALT F10  Restore original palette
  283.         P        Send XMEM contents to printer
  284.         G        Create a GIF file of screen contents
  285.         C        Crop an image and create a GIF file
  286.  
  287.    While viewing an array:
  288.  
  289.         G        Create a GIF file of screen contents
  290.         C        Crop an image and create a GIF file
  291.  
  292.    While viewing IMG or HPGL files in a B & W mode:
  293.  
  294.         P        Send XMEM contents to printer
  295.         I        Create an IMG file of entire XMEM contents.  The 'I'
  296.                  option may also be used if you are viewing an IMG or
  297.                  HPGL file in a color VESA mode.
  298.  
  299.    In both Color and B & W modes you may pan screen with:
  300.       (make sure the NUMLOCK key is on to use keypad)
  301.  
  302.         HOME     Top left of image
  303.         END      Bottom right of image
  304.         Page Up  Move up approx. 1 inch
  305.         Page Dn  Move down approx. 1 inch
  306.         ESC      Return to File Selection Menu
  307.  
  308.    The arrow keys on either numeric keypad or separate arrow keypad
  309.    pan the image approx. 1/4 inch in that direction. In addition, on
  310.    the numeric keypad, the 1,3,7 & 9 keys pan the image diagonally and
  311.    the 5 pans to center of image.
  312.  
  313.    Use the Control key with left or right arrows to pan 1 inch to the
  314.    left or right.
  315.  
  316. SAVING SCREEN AS a GIF FILE:
  317.         While viewing an image in a VESA mode, pressing <G> will save the
  318.         current screen (not necessarily everything in Extended memory) to
  319.         a GIF file with the filename of your choosing.  The dimensions will
  320.         come from the mode you are currently viewing the image in or the
  321.         cropped size that you used.  The color table written to file will
  322.         reflect any adjustments you've made with the Function keys.
  323.  
  324.         If you press <C> instead of <G> you will be able to crop your
  325.         screen image before saving as a GIF file.  You will see a box
  326.         drawn around your complete image when you first press <C>.  Press
  327.         a <T> to move the TopLeft corner of box.  Press <B> to move the
  328.         BottomRight corner.  Use the arrow keys to move a single pixel
  329.         at a time, or PageUp, PageDown, <CTRL>Leftarrow or <CTRL>Rightarrow
  330.         to move 10 pixels at a time.  <HOME> will move the Topleft corner
  331.         of box to Topleft of screen.  <END> will move the Bottomright
  332.         corner of box to Bottomright of screen.  <ESC> will abort and a
  333.         <CR> will start the screen save.
  334.  
  335. SAVING XMEM CONTENTS AS a IMG FILE:
  336.         While viewing a 2 color Black/White image (either IMG, 2-color
  337.         PCX or HPGL files), pressing an <I> will save the entire eXtended
  338.         memory contents to a IMG file.  You will have the opportunity to
  339.         reverse the image before saving.  It doesn't matter whether you are
  340.         viewing the image in a color VESA mode or one of the Black & White
  341.         modes in order to save with the <I> mode, as long as the original
  342.         image was actually a 2 color image.  Currently, there is not a
  343.         cropping option before saving as a IMG file.  However, if you are
  344.         viewing the 2-color image in a color VESA mode, you could save out
  345.         as a cropped GIF file.
  346.  
  347. PRINTING IMAGES:
  348.         While a color (GIF or PCX) file is displayed on the screen,
  349.         pressing <P> will create a print on a HP DeskJet or HP Laser
  350.         printer.  A halftoning process is used to achieve an excellent
  351.         reproduction of the screen.  Up to an 800 x 600 resolution image
  352.         will be allowed as this is the max size for an 8 1/2 x 11 inch
  353.         plot.  (Recommend using legal size paper for a 800 x 600 plot,
  354.         since depending on the paper feed mechanism on certain plotters,
  355.         the last 1/4 inch may not plot).  You may cancel the plot by
  356.         pressing <ESC> during the plot.  The  port defaults to LPT1 unless
  357.         you specified a command line argument of /L2 when starting the
  358.         program.  The actual plot will be of your entire image (stored in
  359.         extended memory) and not just what you may be viewing on your
  360.         screen.
  361.  
  362.         While viewing a IMG (black & white) file pressing <P> will create
  363.         a print.  The maximum size is 3150 x 2400 pixels (fairly large).
  364.  
  365.         While viewing a HPG or PLT file displayed as an "A size" or smaller
  366.         plot, pressing <P> will create a print.  As opposed to the IMG
  367.         print where black was printed as black and white as white, the
  368.         colors for a HPG or PLT file will be reversed.
  369.  
  370. MOUSE USE:
  371.         In most cases where the keypad is used to move the text cursor, a
  372.         MicroSoft compatible mouse can also be used.  You must install
  373.         any required mouse drivers before running VESAVIEW.
  374.  
  375.         The Left button is used just like the <CR> key on the keyboard to
  376.         display one image. It is also used to select choices from pop-up
  377.         menus, to select commands at the bottom of screen and to select the
  378.         PageUp and PageDown icons from the vertical bar on the right side
  379.         of screen.
  380.  
  381.         The Right button is used just like the <ESC> key on the keyboard
  382.         to abort displays and menus.  It is also used to mark files for use
  383.         in arrays or for displaying them as slides (like the <spacebar>).
  384.  
  385.         If the mouse (right button) is used to abort the display of slides
  386.         or images in an array, you must hold the button down until you hear
  387.         a double beep, since the program only scans the mouse at the end of
  388.         each image.  This is unlike using the <ESC> key which just needs to
  389.         be pressed and let go of, even though the image doesn't abort until
  390.         it has been fully displayed.
  391.  
  392.         If a large image has been displayed in one of the 256 color VESA
  393.         modes, holding down the Left mouse button will display a panning
  394.         icon on your screen.  The green box represents your entire image
  395.         size and the red box represents your screen size.  While holding
  396.         down the Left button, move the mouse and the red box will pan
  397.         around with the green box.  When you let go of the button, the
  398.         screen with be moved to reflect your new window area.  This mode
  399.         of panning is much quicker than using the arrow keys, although you
  400.         will probably use the arrow keys for fine tuning the pan.  If a
  401.         double-beep is heard when trying to use this feature, your image
  402.         is probably smaller than your screen and no panning is possible.
  403.  
  404. CAUTIONS:
  405.         The array used to store the files in current directory is limited
  406.         to 500 files.
  407.  
  408.         The program determines the type of file to display by the extension
  409.         used on the filename.  Supported extensions are PCX, GIF, IMG, HPG
  410.         and PLT.  Any other extensions are ignored.  Incorrect extensions
  411.         may cause program to hang  (ie. Don't name a PCX file with a GIF
  412.         extension).
  413.  
  414.         Even though your VESA driver thinks it supports some of the higher
  415.         resolution modes, your hardware may not have the required memory
  416.         to do so.  Therefore, you need to lockout these modes from the
  417.         program with the /LOmode command line switch.  If you don't lock
  418.         out these modes, the program may hang and you'll have to do the 3
  419.         finger trick (<CTRL> <ALT> <DEL>).
  420.  
  421. HINTS:
  422.         If you are using a printer supported by the DOS GRAPHICS command,
  423.         you can get a quick print of a Black & White screen by using the
  424.         GRAPHICS command before running VESAVIEW.  Version 5.0 of DOS
  425.         supports the DeskJet & LaserJets and the syntax would be:
  426.                 GRAPHICS DESKJET /r     (the /r will reverse black & white)
  427.         Use <SHIFT><PRT SCRN> while graphics are on the screen to initiate
  428.         the print.
  429.  
  430.         Since there isn't a SCALE command, there is a trick you can use
  431.         to scale down an image by 1/2,1/3,1/4...1/9.  Mark just one image
  432.         and display it as an array.  Select the Array Size according to the
  433.         scale factor you wish to use. (The color table used to display a
  434.         single image as an array will be the true color table of that image
  435.         and not the optimized palette).  After the image is displayed, use
  436.         the CROP feature to save the area you desire as a GIF image.  Note
  437.         that when a single array image is displayed, the background color
  438.         and text colors will change according to the color table of the
  439.         image being displayed.
  440.  
  441.         If you need a VESA driver for your graphics card, login to
  442.         Compuserve and go to the IBMPRO forum (GO VESA).  In Lib #12
  443.         (Vesa), you will find VESA drivers for almost any card.
  444.  
  445.         If you are not sure what graphics card you have in your machine,
  446.         there is a great little program in the GRAPHSUPPORT forum on
  447.         Compuserve (GO PICS).  In Lib #14 (Misc Util & Code) download
  448.         VDEOID.EXE.  This program will try and determine the card
  449.         manufacturer & memory on it.
  450.  
  451. CARDS TESTED:
  452.         This program has been tested on the following computers and
  453.         graphics cards:
  454.  
  455.         DELL 325D - Using built-in Paradise card
  456.         DELL 325D - Using a CompuAdd Hi-rez card
  457.         DELL 433D - Using Trident 8900 card
  458.         DELL 433P - Using built-in Paradise card
  459.         DELL 433P - Using a Video-7 VRAM II card
  460.         NEC 386SX - Using a CompuAdd Hi-rez card
  461.         AST 286/386 Premium - Using Orchid Designer Pro card
  462.         AST 286/386 Premium - Using Diamond Stealth card
  463.                               (has built in VESA Bios on card)
  464.         IBM 286 AT - Using a Paradise VGA Plus
  465.         IBM 286 AT - Using a ATI Wonder card & ATI Vantage
  466.  
  467. SUPPORT:
  468.         If you have any comments, suggestions or questions, please leave
  469.         me a message in the GRAPHSUPPORT forum (GO PICS) on Compuserve.
  470.         My CIS ID number is 71170,2340.  The current version of VESAVIEW
  471.         will always be posted in the LIB #3 (Decoders & Encoders) of the
  472.         GRAPHSUPPORT forum on Compuserve.  The self-extracting archival
  473.         of VESAVIEW will usually be named VESAVW.EXE.  You can also reach
  474.         me at the P. O. Box listed in the Registration section.
  475.  
  476.